package lt.ntec.danblog.server.blog.model.objectify;



import com.googlecode.objectify.Objectify;
import java.util.List;
import lt.ntec.danblog.server.blog.model.Post;
import lt.ntec.danblog.server.blog.model.PostDAO;
import lt.ntec.danblog.server.core.model.objectify.ObjectifyBaseDAO;

class ObjectifyBlogPostDAO extends ObjectifyBaseDAO<Post> implements PostDAO {

    public ObjectifyBlogPostDAO(Objectify ofy) {
        super(ofy);
    }

    @Override
    public List<? extends Post> getLastPosts() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Class<? extends Post> getEntityClass() {
        return BlogPost.class;
    }

}
